{# One post in the drawer: a new draft, or the open post. The slug is the published URL, so it is set once, on create, and shown after. #} {% from "components/macros/layout.html" import badge, dialog_title %} {% from "components/macros/form.html" import action, field, text_input, textarea, primary_button %} {{ dialog_title(post.title if post else "New post") }}